package com.juli.school.app.controller;

import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.juli.school.service.impl.AppDelService;
import com.juli.school.utils.core.model.CommonResp;

@Controller
@RequestMapping("/ssm")
public class AppDelController {
	
	@Resource
	AppDelService appDelService;
	
	@RequestMapping("/delTableMiss")
	@ResponseBody CommonResp<Boolean> delTableMiss(String id){
		return appDelService.delTableMiss(id);
	}
	
	@RequestMapping("/delTableSmart")
	@ResponseBody CommonResp<Boolean> delTableSmart(String id){
		return appDelService.delTableSmart(id);
	}
	
	@RequestMapping("/delTableLove")
	@ResponseBody CommonResp<Boolean> delTableLove(String id){
		return appDelService.delTableLove(id);
	}
	
	@RequestMapping("/delTableGroup")
	@ResponseBody CommonResp<Boolean> delTableGroup(String id){
		return appDelService.delTableGroup(id);
	}
	
	@RequestMapping("/delTableGroupSms")
	@ResponseBody CommonResp<Boolean> delTableGroupSms(String id){
		return appDelService.delTableGroupSms(id);
	}
	
	@RequestMapping("/delTableNews")
	@ResponseBody CommonResp<Boolean> delTableNews(String id){
		return appDelService.delTableNews(id);
	}
	
	@RequestMapping("/delTableContest")
	@ResponseBody CommonResp<Boolean> delTableContest(String id){
		return appDelService.delTableContest(id);
	}
	
	@RequestMapping("/delTableMall")
	@ResponseBody CommonResp<Boolean> delTableMall(String id){
		return appDelService.delTableMall(id);
	}
	
	@RequestMapping("/delTableJob")
	@ResponseBody CommonResp<Boolean> delTableJob(String id){
		return appDelService.delTableJob(id);
	}
	
	@RequestMapping("/delTablePoint")
	@ResponseBody CommonResp<Boolean> delTablePoint(String id){
		return appDelService.delTablePoint(id);
	}
	
	@RequestMapping("/delTableMind")
	@ResponseBody CommonResp<Boolean> delTableMind(String id){
		return appDelService.delTableMind(id);
	}
	
	@RequestMapping("/delTableLeg")
	@ResponseBody CommonResp<Boolean> delTableLeg(String id){
		return appDelService.delTableLeg(id);
	}
	
	@RequestMapping("/delTableEr")
	@ResponseBody CommonResp<Boolean> delTableEr(String id){
		return appDelService.delTableEr(id);
	}
	
	@RequestMapping("/delTableHonor")
	@ResponseBody CommonResp<Boolean> delTableHonor(String id){
		return appDelService.delTableHonor(id);
	}
}
